<?php

namespace App\Http\Controllers\Admin;

use Illuminate\Http\Request;
use App\Http\Requests;
use App\Http\Controllers\Controller;

use App\Http\Model\History;

class HistoryController extends Controller
{
    public function voist(){
        $history = new History;
        $historyInfo = $history->orderBy("updated_at", "desc")->get();
        return view("admin.history.voist",["historyInfo"=>$historyInfo]);
    }
}